package com.alibaba.travel.search.feign;

import com.alibaba.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/03/09/16:07
 * @Description:
 */
@FeignClient("article")
public interface ArticleFeignService {
    @PostMapping("/allArticle")
    R getAllPublicArticle();

    @PostMapping("/details")
    R getDetails(Long[] ids);

}
